package entity;

import java.io.Serializable;
import java.util.Date;

public class Ticket implements Serializable {

	private String nameFlight;
	private String date;
	private int price;
	private boolean baggage;
	private boolean firstRegistration;
	private String time;
	
	public Ticket(String nameFlight, String date, int price, boolean baggage, boolean firstRegistration)
	{
		this.nameFlight = nameFlight;
		this.date = date;
		this.price = price;
		this.baggage = baggage;
		this.firstRegistration = firstRegistration;
	}
	
	public Ticket()
	{
		
	}
	
	public String getNameFlight() {
		return nameFlight;
	}
	
	public void setNameFlight(String nameFlight) {
		this.nameFlight = nameFlight;
	}
	
	public String getDate() {
		return date;
	}
	
	public void setDate(String date) {
		this.date = date;
	}
	
	public int getPrice() {
		return price;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	
	public boolean isBaggage() {
		return baggage;
	}
	
	public void setBaggage(boolean baggage) {
		this.baggage = baggage;
	}
	
	public boolean isFirstRegistration() {
		return firstRegistration;
	}
	
	public void setFirstRegistration(boolean firstRegistration) {
		this.firstRegistration = firstRegistration;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
}
